using System;
using System.Collections.Generic; 
using System.Collections;
using System.Linq;
using System.Diagnostics;
using System.Xml;
using System.Xml.Schema; 
using System.Xml.Linq; 
using System.Xml.XPath;
using Metaspec;
using AbstraX.ParserInterfaces;

namespace CsParser
{
	/// ID=/AssembliesRoot[@URL='AbstraX://MCLaptop64/AssembliesRoot']/Assembly[@AssemblyFile='C:\Users\Ken\Documents\Mind Chemistry\SolutionFramework\Binaries\CsTransformationParserLibrary.dll']/AssemblyType[@Type='Metaspec.CsCompilationUnit']/FieldElement[@Property='attributes']/AssemblyType[@Type='Metaspec.CsAttributes']/FieldElement[@Property='sections']/AssemblyType[@Type='Metaspec.CsAttributeSection']/FieldElement[@Property='attribute_list']/AssemblyType[@Type='Metaspec.CsAttribute']/FieldElement[@Property='attribute_name']/AssemblyType[@Type='Metaspec.CsNode']/GetSetPropertyElement[@Property='getCsFile()']/AssemblyType[@Type='Metaspec.CsFile']/FieldElement[@Property='tokens']/AssemblyType[@Type='Metaspec.CsToken']
	/// Name=CsToken
	/// 
	/// ****************** DataType ******************
	/// 
	/// Type='CsToken'
	/// FQN='Metaspec.CsToken'
	/// IsCollectionType='False'
	/// 
	/// 
	/// ****************** Description ******************
	/// 
	/// Field Type
	/// 
	/// 
	/// ****************** Modifiers ******************
	/// 
	/// CanRead=false
	/// CanWrite=false
	/// IsLocal=false
	/// NotNavigable=false
	/// NotApplicable=false
	/// 
	/// **********************************************
 	public class CodeToken : ICodeToken
	{
		private CsToken csToken;

        public CodeToken(CsToken csToken) 
        {
            this.csToken = csToken;
        }

		/// ------------------------------------ PropertyBinding ------------------------------------
		/// 
		/// Name: Text
		/// BindingMode: TwoWay
		/// BindingSourceType: AbstraXBindingSource
		/// IsSearchable: false
		/// 
		/// ****************** BindingAttribute ******************
		/// 
		/// ID=/AssembliesRoot[@URL='AbstraX://MCLaptop64/AssembliesRoot']/Assembly[@AssemblyFile='C:\Users\Ken\Documents\Mind Chemistry\SolutionFramework\Binaries\CsTransformationParserLibrary.dll']/AssemblyType[@Type='Metaspec.CsCompilationUnit']/FieldElement[@Property='attributes']/AssemblyType[@Type='Metaspec.CsAttributes']/FieldElement[@Property='sections']/AssemblyType[@Type='Metaspec.CsAttributeSection']/FieldElement[@Property='attribute_list']/AssemblyType[@Type='Metaspec.CsAttribute']/FieldElement[@Property='attribute_name']/AssemblyType[@Type='Metaspec.CsNode']/GetSetPropertyElement[@Property='getCsFile()']/AssemblyType[@Type='Metaspec.CsFile']/FieldElement[@Property='tokens']/AssemblyType[@Type='Metaspec.CsToken']/GetSetPropertyAttribute[@Property='getText()']
		/// Name=getText()
		/// 
		/// ****************** DataType ******************
		/// 
		/// Type='String'
		/// TypeCode='Empty'
		/// 
		/// 
		/// ****************** Modifiers ******************
		/// 
		/// CanRead=true
		/// CanWrite=false
		/// IsLocal=true
		/// NotNavigable=false
		/// NotApplicable=false
		/// 
		/// **********************************************
		/// 
		/// *****************************************************
		/// 
		/// 
		/// ----------------------------------------------------------------------------------
        public String Text 
        { 
            get
            {
				return csToken.Text;
            }
        }

		/// ------------------------------------ PropertyBinding ------------------------------------
		/// 
		/// Name: OriginalText
		/// BindingMode: TwoWay
		/// BindingSourceType: AbstraXBindingSource
		/// IsSearchable: false
		/// 
		/// ****************** BindingAttribute ******************
		/// 
		/// ID=/AssembliesRoot[@URL='AbstraX://MCLaptop64/AssembliesRoot']/Assembly[@AssemblyFile='C:\Users\Ken\Documents\Mind Chemistry\SolutionFramework\Binaries\CsTransformationParserLibrary.dll']/AssemblyType[@Type='Metaspec.CsCompilationUnit']/FieldElement[@Property='attributes']/AssemblyType[@Type='Metaspec.CsAttributes']/FieldElement[@Property='sections']/AssemblyType[@Type='Metaspec.CsAttributeSection']/FieldElement[@Property='attribute_list']/AssemblyType[@Type='Metaspec.CsAttribute']/FieldElement[@Property='attribute_name']/AssemblyType[@Type='Metaspec.CsNode']/GetSetPropertyElement[@Property='getCsFile()']/AssemblyType[@Type='Metaspec.CsFile']/FieldElement[@Property='tokens']/AssemblyType[@Type='Metaspec.CsToken']/GetSetPropertyAttribute[@Property='getOriginalText()']
		/// Name=getOriginalText()
		/// 
		/// ****************** DataType ******************
		/// 
		/// Type='String'
		/// TypeCode='Empty'
		/// 
		/// 
		/// ****************** Modifiers ******************
		/// 
		/// CanRead=true
		/// CanWrite=false
		/// IsLocal=true
		/// NotNavigable=false
		/// NotApplicable=false
		/// 
		/// **********************************************
		/// 
		/// *****************************************************
		/// 
		/// 
		/// ----------------------------------------------------------------------------------
        public String OriginalText 
        { 
            get
            {
				return csToken.OriginalText;
            }
        }

		/// ------------------------------------ PropertyBinding ------------------------------------
		/// 
		/// Name: number
		/// BindingMode: TwoWay
		/// BindingSourceType: AbstraXBindingSource
		/// IsSearchable: false
		/// 
		/// ****************** BindingAttribute ******************
		/// 
		/// ID=/AssembliesRoot[@URL='AbstraX://MCLaptop64/AssembliesRoot']/Assembly[@AssemblyFile='C:\Users\Ken\Documents\Mind Chemistry\SolutionFramework\Binaries\CsTransformationParserLibrary.dll']/AssemblyType[@Type='Metaspec.CsCompilationUnit']/FieldElement[@Property='attributes']/AssemblyType[@Type='Metaspec.CsAttributes']/FieldElement[@Property='sections']/AssemblyType[@Type='Metaspec.CsAttributeSection']/FieldElement[@Property='attribute_list']/AssemblyType[@Type='Metaspec.CsAttribute']/FieldElement[@Property='attribute_name']/AssemblyType[@Type='Metaspec.CsNode']/GetSetPropertyElement[@Property='getCsFile()']/AssemblyType[@Type='Metaspec.CsFile']/FieldElement[@Property='tokens']/AssemblyType[@Type='Metaspec.CsToken']/FieldAttribute[@Field='number']
		/// Name=number
		/// 
		/// ****************** DataType ******************
		/// 
		/// Type='Byte'
		/// TypeCode='Empty'
		/// 
		/// 
		/// ****************** Modifiers ******************
		/// 
		/// CanRead=true
		/// CanWrite=true
		/// IsLocal=true
		/// NotNavigable=false
		/// NotApplicable=false
		/// 
		/// **********************************************
		/// 
		/// *****************************************************
		/// 
		/// 
		/// ----------------------------------------------------------------------------------
        public Byte Number 
        { 
            get
            {
				return csToken.number;
            }
            set
            {
				csToken.number = value;
            }
        }

		/// ------------------------------------ PropertyBinding ------------------------------------
		/// 
		/// Name: c
		/// BindingMode: TwoWay
		/// BindingSourceType: AbstraXBindingSource
		/// IsSearchable: false
		/// 
		/// ****************** BindingAttribute ******************
		/// 
		/// ID=/AssembliesRoot[@URL='AbstraX://MCLaptop64/AssembliesRoot']/Assembly[@AssemblyFile='C:\Users\Ken\Documents\Mind Chemistry\SolutionFramework\Binaries\CsTransformationParserLibrary.dll']/AssemblyType[@Type='Metaspec.CsCompilationUnit']/FieldElement[@Property='attributes']/AssemblyType[@Type='Metaspec.CsAttributes']/FieldElement[@Property='sections']/AssemblyType[@Type='Metaspec.CsAttributeSection']/FieldElement[@Property='attribute_list']/AssemblyType[@Type='Metaspec.CsAttribute']/FieldElement[@Property='attribute_name']/AssemblyType[@Type='Metaspec.CsNode']/GetSetPropertyElement[@Property='getCsFile()']/AssemblyType[@Type='Metaspec.CsFile']/FieldElement[@Property='tokens']/AssemblyType[@Type='Metaspec.CsToken']/FieldAttribute[@Field='c']
		/// Name=c
		/// 
		/// ****************** DataType ******************
		/// 
		/// Type='Char'
		/// TypeCode='Empty'
		/// 
		/// 
		/// ****************** Modifiers ******************
		/// 
		/// CanRead=true
		/// CanWrite=true
		/// IsLocal=true
		/// NotNavigable=false
		/// NotApplicable=false
		/// 
		/// **********************************************
		/// 
		/// *****************************************************
		/// 
		/// 
		/// ----------------------------------------------------------------------------------
        public Char C 
        { 
            get
            {
				return csToken.c;
            }
            set
            {
				csToken.c = value;
            }
        }

		/// ------------------------------------ PropertyBinding ------------------------------------
		/// 
		/// Name: text
		/// BindingMode: TwoWay
		/// BindingSourceType: AbstraXBindingSource
		/// IsSearchable: false
		/// 
		/// ****************** BindingAttribute ******************
		/// 
		/// ID=/AssembliesRoot[@URL='AbstraX://MCLaptop64/AssembliesRoot']/Assembly[@AssemblyFile='C:\Users\Ken\Documents\Mind Chemistry\SolutionFramework\Binaries\CsTransformationParserLibrary.dll']/AssemblyType[@Type='Metaspec.CsCompilationUnit']/FieldElement[@Property='attributes']/AssemblyType[@Type='Metaspec.CsAttributes']/FieldElement[@Property='sections']/AssemblyType[@Type='Metaspec.CsAttributeSection']/FieldElement[@Property='attribute_list']/AssemblyType[@Type='Metaspec.CsAttribute']/FieldElement[@Property='attribute_name']/AssemblyType[@Type='Metaspec.CsNode']/GetSetPropertyElement[@Property='getCsFile()']/AssemblyType[@Type='Metaspec.CsFile']/FieldElement[@Property='tokens']/AssemblyType[@Type='Metaspec.CsToken']/FieldAttribute[@Field='text']
		/// Name=text
		/// 
		/// ****************** DataType ******************
		/// 
		/// Type='String'
		/// TypeCode='Empty'
		/// 
		/// 
		/// ****************** Modifiers ******************
		/// 
		/// CanRead=true
		/// CanWrite=true
		/// IsLocal=true
		/// NotNavigable=false
		/// NotApplicable=false
		/// 
		/// **********************************************
		/// 
		/// *****************************************************
		/// 
		/// 
		/// ----------------------------------------------------------------------------------
        public String Text 
        { 
            get
            {
				return csToken.text;
            }
            set
            {
				csToken.text = value;
            }
        }

		/// ------------------------------------ PropertyBinding ------------------------------------
		/// 
		/// Name: original_text
		/// BindingMode: TwoWay
		/// BindingSourceType: AbstraXBindingSource
		/// IsSearchable: false
		/// 
		/// ****************** BindingAttribute ******************
		/// 
		/// ID=/AssembliesRoot[@URL='AbstraX://MCLaptop64/AssembliesRoot']/Assembly[@AssemblyFile='C:\Users\Ken\Documents\Mind Chemistry\SolutionFramework\Binaries\CsTransformationParserLibrary.dll']/AssemblyType[@Type='Metaspec.CsCompilationUnit']/FieldElement[@Property='attributes']/AssemblyType[@Type='Metaspec.CsAttributes']/FieldElement[@Property='sections']/AssemblyType[@Type='Metaspec.CsAttributeSection']/FieldElement[@Property='attribute_list']/AssemblyType[@Type='Metaspec.CsAttribute']/FieldElement[@Property='attribute_name']/AssemblyType[@Type='Metaspec.CsNode']/GetSetPropertyElement[@Property='getCsFile()']/AssemblyType[@Type='Metaspec.CsFile']/FieldElement[@Property='tokens']/AssemblyType[@Type='Metaspec.CsToken']/FieldAttribute[@Field='original_text']
		/// Name=original_text
		/// 
		/// ****************** DataType ******************
		/// 
		/// Type='String'
		/// TypeCode='Empty'
		/// 
		/// 
		/// ****************** Modifiers ******************
		/// 
		/// CanRead=true
		/// CanWrite=true
		/// IsLocal=true
		/// NotNavigable=false
		/// NotApplicable=false
		/// 
		/// **********************************************
		/// 
		/// *****************************************************
		/// 
		/// 
		/// ----------------------------------------------------------------------------------
        public String Original_text 
        { 
            get
            {
				return csToken.original_text;
            }
            set
            {
				csToken.original_text = value;
            }
        }

		/// ------------------------------------ PropertyBinding ------------------------------------
		/// 
		/// Name: index
		/// BindingMode: TwoWay
		/// BindingSourceType: AbstraXBindingSource
		/// IsSearchable: false
		/// 
		/// ****************** BindingAttribute ******************
		/// 
		/// ID=/AssembliesRoot[@URL='AbstraX://MCLaptop64/AssembliesRoot']/Assembly[@AssemblyFile='C:\Users\Ken\Documents\Mind Chemistry\SolutionFramework\Binaries\CsTransformationParserLibrary.dll']/AssemblyType[@Type='Metaspec.CsCompilationUnit']/FieldElement[@Property='attributes']/AssemblyType[@Type='Metaspec.CsAttributes']/FieldElement[@Property='sections']/AssemblyType[@Type='Metaspec.CsAttributeSection']/FieldElement[@Property='attribute_list']/AssemblyType[@Type='Metaspec.CsAttribute']/FieldElement[@Property='attribute_name']/AssemblyType[@Type='Metaspec.CsNode']/GetSetPropertyElement[@Property='getCsFile()']/AssemblyType[@Type='Metaspec.CsFile']/FieldElement[@Property='tokens']/AssemblyType[@Type='Metaspec.CsToken']/FieldAttribute[@Field='index']
		/// Name=index
		/// 
		/// ****************** DataType ******************
		/// 
		/// Type='Int32'
		/// TypeCode='Empty'
		/// 
		/// 
		/// ****************** Modifiers ******************
		/// 
		/// CanRead=true
		/// CanWrite=true
		/// IsLocal=true
		/// NotNavigable=false
		/// NotApplicable=false
		/// 
		/// **********************************************
		/// 
		/// *****************************************************
		/// 
		/// 
		/// ----------------------------------------------------------------------------------
        public Int32 Index 
        { 
            get
            {
				return csToken.index;
            }
            set
            {
				csToken.index = value;
            }
        }

		/// ------------------------------------ NavigationItem ------------------------------------
		/// 
		/// Property: 'type' returns type: 'Metaspec.CsTokenType'
		/// CanRead: true
		/// CanWrite: true
		/// 
		/// ----------------------------------------------------------------------------------
        public CsTokenType Type 
        { 
            get
            {
				return new CsTokenType(csToken.type);
            }
        }

		/// ------------------------------------ NavigationItem ------------------------------------
		/// 
		/// Property: 'line_info' returns type: 'Metaspec.LineInfo'
		/// CanRead: true
		/// CanWrite: true
		/// 
		/// ----------------------------------------------------------------------------------
        public LineInfo Line_info 
        { 
            get
            {
				return new LineInfo(csToken.line_info);
            }
        }

		/// ------------------------------------ NavigationItem ------------------------------------
		/// 
		/// Property: 'LineInfo' returns type: 'Metaspec.LineInfo'
		/// CanRead: true
		/// CanWrite: false
		/// 
		/// ----------------------------------------------------------------------------------
        public LineInfo LineInfo 
        { 
            get
            {
				return new LineInfo(csToken.LineInfo);
            }
        }

    }
}
